]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
shell-util: fix GFile leak
authorPavel Vasin <rat4vier@gmail.com>
Wed, 13 Jun 2012 12:49:20 +0000 (16:49 +0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Fri, 15 Jun 2012 05:05:08 +0000 (01:05 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=678079

src/shell-util.c

index bd211f013c5c84152e0a949b89e0162cf3690924..12f0572831c6c28d5ba5f768e80a764230948dcd 100644 (file)
@@ -96,6 +96,7 @@ shell_util_get_file_display_for_common_files (GFile *file)
        * nautilus */
       return g_strdup (_("Home"));
     }
+  g_object_unref (compare);
 
   compare = g_file_new_for_path ("/");
   if (g_file_equal (file, compare))